using System;
using System.Collections.Generic;
using System.Text;
using Space.Planets;

namespace Space
{
    public class Star:AbstractSpaceObject
    {
        #region Properties

        //private List<Planet> planets = null;
        //public List<Planet> Planets
        //{
        //    get { return planets; }
        //}

        private string planets = "";
        public string Planets
        {
            get { return planets; }
            set { planets = value; }
        }

        #endregion

        #region Construction

        public Star()
        {
            //planets = new List<Planet>();
        }

        #endregion

        #region Overrides

        public override int ObjectType
        {
            get { return SpaceObjectTypes.Star; }
        }

        public override string ToString()
        {
            return ObjectType.ToString() + "#" + planets;
        }

        #endregion

        #region Methods

        //public void AddPlanet(Planet p)
        //{
        //    planets.Add(p);
        //}

        #endregion
    }
}
